//
//  netApI.h
//  photoLibrayIos8
//
//  Created by jing zhao on 5/23/16.
//  Copyright © 2016 jing zhao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSURL+ParamsDictionary.h"

typedef void(^Betta)(NSObject*) ;

@interface NetApI : NSObject

+(void)postApiNetWithApi:(NSString *)url
               andParams:(NSDictionary*)params
               andSucces:(void (^)(NSObject* object))sucess
              andFailure:(void (^)(NSObject* object))failure;

@end
